package org.zkdn.modules.wlpt.basicinfo.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: t_road
 * @Author: jeecg-boot
 * @Date:   2025-06-18
 * @Version: V1.0
 */
@Data
@TableName("t_road")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="t_road对象", description="t_road")
public class TRoad implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private java.lang.String id;
    /**道路编码*/
    @Excel(name = "道路编码", width = 15)
    @ApiModelProperty(value = "道路编码")
    private java.lang.String code;
    /**道路属性*/
    @Excel(name = "道路属性", width = 15)
    @ApiModelProperty(value = "道路属性")
    @Dict(dicCode = "road_attr")
    private java.lang.String roadAttr;
	/**道路名称*/
	@Excel(name = "道路名称", width = 15)
    @ApiModelProperty(value = "道路名称")
    private java.lang.String roadName;
	/**道路类型*/
	@Excel(name = "道路类型", width = 15)
    @ApiModelProperty(value = "道路类型")
    @Dict(dicCode = "road_type")
    private java.lang.Integer roadType;
	/**道路标签*/
	@Excel(name = "道路标签", width = 15)
    @ApiModelProperty(value = "道路标签")
    @Dict(dicCode = "road_tag")
    private java.lang.String roadTag;
	/**已建设里程*/
	@Excel(name = "已建设里程", width = 15)
    @ApiModelProperty(value = "已建设里程")
    private java.lang.Double builtMileage;
	/**道路总里程*/
	@Excel(name = "道路总里程", width = 15)
    @ApiModelProperty(value = "道路总里程")
    private java.lang.Double totalMileage;
	/**道路等级*/
	@Excel(name = "道路等级", width = 15)
    @ApiModelProperty(value = "道路等级")
    @Dict(dicCode = "road_level")
    private java.lang.Integer level;
	/**删除状态（0表示否，1表示是）*/
	@Excel(name = "删除状态", width = 15)
    @ApiModelProperty(value = "删除状态")
    @Dict(dicCode = "del_flag")
    @TableLogic
    private java.lang.Integer delFlag;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
    /**关联杆件数*/
    @Excel(name = "关联杆件数", width = 15)
    @ApiModelProperty(value = "关联杆件数")
    private java.lang.Integer poleNum;
    /**关联路口数*/
    @Excel(name = "关联路口数", width = 15)
    @ApiModelProperty(value = "关联路口数")
    private java.lang.Integer crossNum;
    /**设备数量*/
    @Excel(name = "设备数量", width = 15)
    @ApiModelProperty(value = "设备数量")
    private java.lang.Integer deviceNum;
    /**示范区id*/
    @Excel(name = "示范区id", width = 15)
    @ApiModelProperty(value = "示范区id")
    @Dict(dicCode = "demonstration_zone")
    private java.lang.Integer zoneId;
    /**示范区名称*/
//    @Excel(name = "示范区名称", width = 15)
//    @ApiModelProperty(value = "示范区名称")
//    private java.lang.String zoneName;
    /**道路坐标wkt*/
    @Excel(name = "道路坐标wkt", width = 15)
    @ApiModelProperty(value = "道路坐标wkt")
    private java.lang.String wkt;
}
